package Job01;

import java.util.Scanner;

public class Test01 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入姓名:");
        String name = input.next();
        System.out.print("请输入学号:");
        int XH = input.nextInt();
        System.out.print("请输入班级:");
        String BJ = input.next();
        System.out.print("请输入性别:");
        char sex = input.next().charAt(0);
        System.out.print("请输入年龄:");
        int age = input.nextInt();
        System.out.print("请输入性格:");
        String love = input.next();
        Student student = new Student(name,XH,BJ,sex,age,love);
        System.out.println(String.format(student.toString()));

    }
}
